package cn.ec;

import cn.ec.service.CanalService;
import cn.ec.service.InitFillData;

import java.sql.SQLException;

public class ApplicationBoot {

    public static void main(String[] args) throws SQLException {
        // 初始化数据
        InitFillData.init();
        // 订阅canal-deployer服务
        CanalService.subscribe();
    }

}
